package com.gongzu.xuan;



public class Flyingmonkey {
    private String id;
    private String name;
    private String eat;
    private String color;
    private String fly;

    public Flyingmonkey() {

    }
    public Flyingmonkey(String id,String name,String eat,String color,String fly){
        this.id=id;
        this.name=name;
        this.eat=eat;
        this.color=color;
        this.fly=fly;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getEat() {
        return eat;
    }

    public void setEat(String eat) {
        this.eat = eat;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getFly() {
        return fly;
    }

    public void setFly(String fly) {
        this.fly = fly;
    }
    @Override public String toString(){
        return " 代号: "+this.id+" 姓名: "+this.name+" 爱吃的食物: "+this.eat+" 最爱的颜色: "+this.color+" 技能: "+this.fly;
    }
}
